#ifndef RAR_ARCHIVE_H_
#define RAR_ARCHIVE_H_

#include <core/Archive.h>

class RARArchive : public Archive
{
	Q_OBJECT
	Q_INTERFACES(Archive);

public:
	RARArchive(QStringList parts);
	RARArchive(QString part);
	~RARArchive();

	bool extract(QString destDir, bool overwrite);
	void continueExtraction(QString pathToMissingPart);
	QString getArchiveType() const;
	QString getPluginName() const;
};

#endif /* RAR_ARCHIVE_H_ */
